package cn.demoncat.util.seal.entity;

/**
 * 文字
 * 
 * @author 延晓磊
 *
 * @since 2020年6月9日
 */
public class SealFont {

	// 内容
	private String text;
	// 字体
	private String family = "宋体";
	// 字号
	private Integer size;
	// 加粗
	private Boolean bold = true;
	// 文字间距
	private Double space;
	// 顶部偏移
	private Integer margin;
	
	public SealFont() {
		super();
	}
	public SealFont(String text, Integer size) {
		super();
		this.text = text;
		this.size = size;
	}
	public SealFont(String text, Integer size, Integer margin) {
		super();
		this.text = text;
		this.size = size;
		this.margin = margin;
	}
	public SealFont(String text, Integer size, Double space, Integer margin) {
		super();
		this.text = text;
		this.size = size;
		this.space = space;
		this.margin = margin;
	}
	public SealFont(String text, String family, Integer size, Boolean bold, Double space, Integer margin) {
		super();
		this.text = text;
		this.family = family;
		this.size = size;
		this.bold = bold;
		this.space = space;
		this.margin = margin;
	}

	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getFamily() {
		return family;
	}
	public void setFamily(String family) {
		this.family = family;
	}
	public Integer getSize() {
		return size;
	}
	public void setSize(Integer size) {
		this.size = size;
	}
	public Boolean getBold() {
		return bold;
	}
	public void setBold(Boolean bold) {
		this.bold = bold;
	}
	public Double getSpace() {
		return space;
	}
	public void setSpace(Double space) {
		this.space = space;
	}
	public Integer getMargin() {
		return margin;
	}
	public void setMargin(Integer margin) {
		this.margin = margin;
	}

}
